package ascloud.biz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import ascloud.biz.dao.LegacyDao;
import ascloud.biz.model.Legacy;
import ascloud.biz.service.LegacyService;

@Service
@Transactional
public class LegacyServiceImpl implements LegacyService {
	
	@Autowired
	private LegacyDao legacyDao;

	@Override
	public List<Legacy> getAll() {
		return this.legacyDao.getAll();
	}

}
